<%@ page contentType="text/html;charset=UTF-8" language="java"  pageEncoding="UTF-8" import="java.util.*" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<!--<%=request.getContextPath()%>-->
<head>
    <title>添加用户</title>
</head>
<body>
<form method="post" action="${pageContext.request.contextPath}/user/addUser/post">

    <table border="1">
        <tr>
            <td colspan="2">添加用户信息</td>
        </tr>
        <tr>
            <td>姓名</td>
            <td>
                <input type="text" name="username" />
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <input type="text" name="password" />
            </td>
        </tr>
        <tr>
            <td>电子邮箱</td>
            <td>
                <input type="text" name="email" />
            </td>
        </tr>

        <tr>
            <td>
                <a href="${pageContext.request.contextPath}/user/userList">返回</a>
            </td>
            <td>
                <input type="submit" value="提交" />
            </td>
        </tr>


    </table>

</form>
<%--<c:if test="${message!=null}"><P>${message}</P></c:if>--%>
<P>${message}</P>
</body>
</html>
